package com.zyf.project.kvdb.engine.base;

import org.rocksdb.RocksDBException;

/**
 * <h1>键值对写</h1>
 *
 * @author Zhou Yifan
 */
public interface KVRead {
    /**
     * 写入键值对
     *
     * @param key   键，byte[] 类型
     * @param value 值，byte[] 类型
     */
    void set(byte[] key, byte[] value) throws RocksDBException;
}
